package com.cosmoplat.xikai.business.service;

import com.cosmoplat.xikai.business.domain.DeviceFault;
import com.cosmoplat.xikai.business.domain.DeviceLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cosmoplat.xikai.business.domain.EnergyManagement;
import com.cosmoplat.xikai.business.domain.dto.scada.DeviceFaultDto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
* @author 22047582
* @description 针对表【device_log】的数据库操作Service
* @createDate 2025-01-07 13:51:30
*/
public interface DeviceLogService extends IService<DeviceLog> {


    ArrayList<DeviceFault> queryForPage(DeviceFaultDto deviceFaultDto);

    ArrayList<EnergyManagement> queryEnergyManagementForPage(DeviceFaultDto deviceFaultDto);
    DeviceLog getDeviceLogByThingModelId(Long thingModelId);

    DeviceLog getLastByThingModelId(Long thingModelId);
}
